package com.catena.core;

/**
 * Created by hx-pc on 16-3-18.
 */
public class NodeReuseException extends RuntimeException {

    private static final String MESSAGE = "不能重复使用一个类,在一条责任链上面";

    public NodeReuseException(){}

    public NodeReuseException(String message, Throwable cause) {
        super(message, cause);
    }

    public NodeReuseException(Throwable cause) {
        super(cause);
    }

    @Override
    public String getMessage() {
        return MESSAGE;
    }
}
